package com.qfedu.edu.slot.impl;

import com.qfedu.edu.slot.generate.GenerateSlot;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * 黑名单检测
 */

@Slf4j
@Component
public class BlackSlot extends GenerateSlot {
    @Override
    public int getOrder() {
        return Integer.MIN_VALUE+2;
    }

    @Override
    public boolean dealReq(HttpServletRequest req) {

        log.info("黑名单检测的slot");
        // TODO 黑名单检测逻辑
        return true;
    }
}
